const {
  	myRequest
  } = require('@/utils/request.js')
  module.exports = {
  	// 新闻列表2
  	queryProtalNews2: (params) => myRequest({
  		url: "https://job.ydylmold.cn/portalNews/query",
  		methods: 'POST',
  		data: params,
  		auth: true,
		interception: true
  	}),
  	queryClassType2: (params) => myRequest({
  		url: "https://job.ydylmold.cn/newstype/queryNewsType",
  		methods: 'POST',
  		data: params,
  		auth: true,
		interception: true
  	}),
	queryClassType: (params) => myRequest({
		url: "https://job.ydylmold.cn/ydClassType/queryClassType",
		methods: 'POST',
		data: params,
		auth: true,
		interception: true
	}),

  	updQuickContact: (params) => myRequest({
  		url: "https://job.ydylmold.cn/api/job/updQuickContact",
  		methods: 'POST',
  		data: params,
  		auth: true,
  		interception: true
  	}),
  	savePortalNewsItem: (params) => myRequest({
  		url: "https://job.ydylmold.cn/api/base/savePortalNewsItem",
  		methods: 'POST',
  		data: params,
  		auth: true,
  		interception: true
  	}),
  	searchPortalNewsSource: (params) => myRequest({
  		url: "https://job.ydylmold.cn/api/base/searchPortalNewsSource",
  		methods: 'POST',
  		data: params,
  		auth: true,
  		interception: true
  	}),
  	queryPortalNewsById2: (params) => myRequest({
  		url: "https://job.ydylmold.cn/portalNews/queryPortalNewsById",
  		methods: 'POST',
  		data: params,
  		auth: true,
  		interception: true
  	}),
	/** 评论 ↓ **/
	saveAssoComment: (params) => myRequest({
  		url: "yUsr1007/articleContentItemSave",
  		methods: 'POST',
  		data: params,
  		auth: true,
		// desc: 评论列表
  	}),
	deleteAssoComment: (params) => myRequest({
  		url: "yUsr1007/contentItemDelete",
  		methods: 'POST',
  		data: params,
  		auth: true,
		// desc: 评论删除
  	}),
	selectContent: (params) => myRequest({
		url: "yUsr1007/queryConment",
		methods: 'POST',
		data: params,
		auth: true,
		// desc: 评论查询
	}),
	saveAssoCollection: (params) => myRequest({
		url: "usrCollection/insert",
		methods: 'POST',
		data: params,
		auth: true,
		// desc: 收藏新增&删除
	}),
	saveAssoLike: (params) => myRequest({
		url: "usrThumbsRecord/thumbs",
		methods: 'POST',
		data: params,
		auth: true,
	}),
	deletePortalNewsSource: (params) => myRequest({
		url: "https://job.ydylmold.cn/api/base/deletePortalNewsSource",
		methods: 'POST',
		data: params,
		auth: true,
		interception: true
	}),
	savePortalNewsSource: (params) => myRequest({
		url: "https://job.ydylmold.cn/api/base/savePortalNewsSource",
		methods: 'POST',
		data: params,
		auth: true,
		interception: true
	}),
	deletePortalNewsItem: (params) => myRequest({
		url: "https://job.ydylmold.cn/api/base/deletePortalNewsItem",
		methods: 'POST',
		data: params,
		auth: true,
		interception: true
	}),
	deletePortalNews: (params) => myRequest({
		url: "https://job.ydylmold.cn/portalNews/deletePortalNews",
		methods: 'POST',
		data: params,
		auth: true,
		interception: true
	}),
	
	searchPortalNewsItemList: (params) => myRequest({
		url: "https://job.ydylmold.cn/api/base/searchPortalNewsItemList",
		methods: 'POST',
		data: params,
		auth: true,
		interception: true
	}),
	searchPortalNewsIsExist: (params) => myRequest({
		url: "https://job.ydylmold.cn/api/base/searchPortalNewsIsExist",
		methods: 'POST',
		data: params,
		auth: true,
		interception: true
	}),
	queryNewsById: (params) => myRequest({
		url: "usrCompanyNews/queryNewsById",
		methods: 'POST',
		data: params,
		auth: true,
		// desc: 新闻详情2-公司新闻
	}),
	insertDataComp: (params) => myRequest({
		url: "usrCompanyNews/insertData",
		methods: 'POST',
		data: params,
		auth: true,
		// desc: 新闻详情2-公司新闻
	}),

	insertDataNews: (params) => myRequest({
		url: "portalNews/add",
		methods: 'POST',
		data: params,
		auth: true,
		// desc: 新闻详情2-公司新闻
	}),
	
	deleteData: (params) => myRequest({
		url: "https://job.ydylmold.cn/yUsr1015/deleteData",
		methods: 'POST',
		data: params,
		auth: true,
		interception: true
		// desc: 删除新闻-平台
	}),
	deleteCompanyNews: (params) => myRequest({
		url: "https://job.ydylmold.cn/usrCompanyNews/delete",
		methods: 'POST',
		data: params,
		auth: true,
		interception: true
		// desc: 删除新闻-企业
	})

  }
